package com.book.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
	/**用户id*/
	private String uid;
	private String username;
	private String password;
	private String email;
	private String truename;
	private String tel;
//	/**验证码*/
//	private String code;
	/**状态  0代表未激活 1代表已激活*/
	private Integer state;

	public User(String username){
		this.username = username;
	}
	
	
}
